package day15;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * @Auther:小陈的Java
 */
public class TestDemo {
    public void method1(){
        System.out.println("方法1");
    }
    public void method2(){
        System.out.println("方法2");
    }
    @Test
    public void test1(){
        method1();
    }
    @Test
    public void test2(){
        method2();
    }
    @Before
    public void before(){
        System.out.println("测试方法运行前运行");
    }
    @After
    public void after(){
        System.out.println("测试方法运行前运行");
    }
}
